<?php

$cfg = array(

    // Database settings
    'db.adapter' => 'mysql',
    'db.host' => 'localhost',
    'db.name' => 'nibiru',
    'db.user' => 'root',
    'db.pass' => '',

    // System runtime env
    'env.debug' => true,
    'env.timezone' => 'UTC',

    'i18n.default_locale' => 'zh_CN',
    'i18n.load_path' => '',

    // Cookie settings
    'cookie.prefix' => 'nibiru_',
    'cookie.path' => '/',
    'cookie.domain' => null,
    'cookie.expire' => 3600 * 24 * 30, // One month

    // Url settings
    'url.rewrite' => true,
    'url.base' => '',
    'url.index' => 'index',
    'url.resource' => '/res',

    // API type：xmlrpc, jsonrpc, local, soap etc.
    'api.type' => 'local',

    // Auth: except, all, width
    'auth' => 'all',
);
